import { gql } from "@apollo/client";

export const getCardRecords_service = gql`
  query getCardRecords($page: PageInput!) {
    getCardRecords(page: $page) {
      message
      data {
        id
        startTime
        endTime
        residueTime
        card
        studentId
        orgId
        courseId
        productId
      }
      page {
        total
        pageNum
        pageSize
      }
    }
  }
`;

export const getNormalCardRecordsByCourse_service = gql`
  query getNormalCardRecordsByCourse($courseId: String!) {
    getNormalCardRecordsByCourse(courseId: $courseId) {
      data {
        id
        startTime
        endTime
        residueTime
        card
        studentId
        orgId
        courseId
        productId
      }
      code
      message
    }
  }
`;
